package com.nxk.modules.content.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nxk.modules.content.entity.ConProduct;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ConProductDao extends BaseMapper<ConProduct> {

    List<ConProduct> findPage(@Param("productName")String productName,@Param("pageNo")Long pageNo,@Param("pageSize")Long pageSize);

    long findCount(@Param("productName")String productName);

    ConProduct getOne(@Param("id")String id);
}
